Skip to content

Conversation

@jmgasper
Copy link
Contributor

@jmgasper jmgasper commented Nov 2, 2025

No description provided.

@jmgasper jmgasper merged commit c4a4e9b into master Nov 2, 2025
4 checks passed
if (value instanceof Date) {
return value
}
if (typeof value === 'object') {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
Using _.mapValues on an object without checking if it's a plain object can lead to unexpected behavior if value is an instance of a class or has a prototype chain. Consider using _.isPlainObject to ensure value is a plain object before mapping its values.

result = _.filter(result, (item) => _.includes(config.MEMBER_PUBLIC_TRAITS, item.traitId))
}
return result
return helper.convertBigIntDeep(result)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
Ensure that helper.convertBigIntDeep is correctly handling all possible data structures within result. If result contains nested objects or arrays, verify that convertBigIntDeep can process them without errors or unintended modifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants